﻿//INSTANT C# NOTE: Formerly VB project-level imports:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.Linq;
using System.Xml.Linq;

using System.Security.Cryptography.X509Certificates;

namespace STSFederationMetadataEditor
{
	public partial class frmSelectCertificateFile : System.Windows.Forms.Form
	{

		//Form overrides dispose to clean up the component list.
		[System.Diagnostics.DebuggerNonUserCode()]
		protected override void Dispose(bool disposing)
		{
			try
			{
				if (disposing && components != null)
				{
					components.Dispose();
				}
			}
			finally
			{
				base.Dispose(disposing);
			}
		}

		//Required by the Windows Form Designer
		private System.ComponentModel.IContainer components;

		//NOTE: The following procedure is required by the Windows Form Designer
		//It can be modified using the Windows Form Designer.  
		//Do not modify it using the code editor.
		[System.Diagnostics.DebuggerStepThrough()]
		private void InitializeComponent()
		{
			System.Windows.Forms.Label Label1 = null;
			System.Windows.Forms.Label Label2 = null;
			System.Windows.Forms.Label Label3 = null;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSelectCertificateFile));
			this.rbPFX = new System.Windows.Forms.RadioButton();
			this.rbCER = new System.Windows.Forms.RadioButton();
			this.PFXFileGroupBox = new System.Windows.Forms.GroupBox();
			this.cmdSelectPFXFile = new System.Windows.Forms.Button();
			this.fldPFXFile = new System.Windows.Forms.TextBox();
			this.fldPFXPassword = new System.Windows.Forms.TextBox();
			this.CERFileGroupBox = new System.Windows.Forms.GroupBox();
			this.cmdSelectCERFile = new System.Windows.Forms.Button();
			this.fldCERFile = new System.Windows.Forms.TextBox();
			this.cmdOK = new System.Windows.Forms.Button();
			this.cmdCancel = new System.Windows.Forms.Button();
			Label1 = new System.Windows.Forms.Label();
			Label2 = new System.Windows.Forms.Label();
			Label3 = new System.Windows.Forms.Label();
			this.PFXFileGroupBox.SuspendLayout();
			this.CERFileGroupBox.SuspendLayout();
			this.SuspendLayout();
			//
			//Label1
			//
			Label1.AutoSize = true;
			Label1.Location = new System.Drawing.Point(6, 16);
			Label1.Name = "Label1";
			Label1.Size = new System.Drawing.Size(23, 13);
			Label1.TabIndex = 0;
			Label1.Text = "File";
			//
			//Label2
			//
			Label2.AutoSize = true;
			Label2.Location = new System.Drawing.Point(6, 41);
			Label2.Name = "Label2";
			Label2.Size = new System.Drawing.Size(53, 13);
			Label2.TabIndex = 1;
			Label2.Text = "Password";
			//
			//Label3
			//
			Label3.AutoSize = true;
			Label3.Location = new System.Drawing.Point(6, 23);
			Label3.Name = "Label3";
			Label3.Size = new System.Drawing.Size(23, 13);
			Label3.TabIndex = 5;
			Label3.Text = "File";
			//
			//rbPFX
			//
			this.rbPFX.AutoSize = true;
			this.rbPFX.Checked = true;
			this.rbPFX.Location = new System.Drawing.Point(12, 12);
			this.rbPFX.Name = "rbPFX";
			this.rbPFX.Size = new System.Drawing.Size(14, 13);
			this.rbPFX.TabIndex = 0;
			this.rbPFX.TabStop = true;
			this.rbPFX.UseVisualStyleBackColor = true;
			//
			//rbCER
			//
			this.rbCER.AutoSize = true;
			this.rbCER.Location = new System.Drawing.Point(12, 85);
			this.rbCER.Name = "rbCER";
			this.rbCER.Size = new System.Drawing.Size(14, 13);
			this.rbCER.TabIndex = 1;
			this.rbCER.UseVisualStyleBackColor = true;
			//
			//PFXFileGroupBox
			//
			this.PFXFileGroupBox.Controls.Add(this.cmdSelectPFXFile);
			this.PFXFileGroupBox.Controls.Add(this.fldPFXFile);
			this.PFXFileGroupBox.Controls.Add(this.fldPFXPassword);
			this.PFXFileGroupBox.Controls.Add(Label2);
			this.PFXFileGroupBox.Controls.Add(Label1);
			this.PFXFileGroupBox.Location = new System.Drawing.Point(27, 12);
			this.PFXFileGroupBox.Name = "PFXFileGroupBox";
			this.PFXFileGroupBox.Size = new System.Drawing.Size(294, 69);
			this.PFXFileGroupBox.TabIndex = 2;
			this.PFXFileGroupBox.TabStop = false;
			this.PFXFileGroupBox.Text = "PFX File";
			//
			//cmdSelectPFXFile
			//
			this.cmdSelectPFXFile.Location = new System.Drawing.Point(256, 11);
			this.cmdSelectPFXFile.Name = "cmdSelectPFXFile";
			this.cmdSelectPFXFile.Size = new System.Drawing.Size(31, 23);
			this.cmdSelectPFXFile.TabIndex = 4;
			this.cmdSelectPFXFile.Text = "...";
			this.cmdSelectPFXFile.UseVisualStyleBackColor = true;
			//
			//fldPFXFile
			//
			this.fldPFXFile.Location = new System.Drawing.Point(60, 12);
			this.fldPFXFile.Name = "fldPFXFile";
			this.fldPFXFile.Size = new System.Drawing.Size(192, 20);
			this.fldPFXFile.TabIndex = 3;
			//
			//fldPFXPassword
			//
			this.fldPFXPassword.Location = new System.Drawing.Point(60, 37);
			this.fldPFXPassword.Name = "fldPFXPassword";
			this.fldPFXPassword.Size = new System.Drawing.Size(192, 20);
			this.fldPFXPassword.TabIndex = 2;
			this.fldPFXPassword.UseSystemPasswordChar = true;
			//
			//CERFileGroupBox
			//
			this.CERFileGroupBox.Controls.Add(this.cmdSelectCERFile);
			this.CERFileGroupBox.Controls.Add(this.fldCERFile);
			this.CERFileGroupBox.Controls.Add(Label3);
			this.CERFileGroupBox.Enabled = false;
			this.CERFileGroupBox.Location = new System.Drawing.Point(27, 85);
			this.CERFileGroupBox.Name = "CERFileGroupBox";
			this.CERFileGroupBox.Size = new System.Drawing.Size(294, 53);
			this.CERFileGroupBox.TabIndex = 3;
			this.CERFileGroupBox.TabStop = false;
			this.CERFileGroupBox.Text = "CER File";
			//
			//cmdSelectCERFile
			//
			this.cmdSelectCERFile.Location = new System.Drawing.Point(256, 18);
			this.cmdSelectCERFile.Name = "cmdSelectCERFile";
			this.cmdSelectCERFile.Size = new System.Drawing.Size(31, 23);
			this.cmdSelectCERFile.TabIndex = 7;
			this.cmdSelectCERFile.Text = "...";
			this.cmdSelectCERFile.UseVisualStyleBackColor = true;
			//
			//fldCERFile
			//
			this.fldCERFile.Location = new System.Drawing.Point(60, 19);
			this.fldCERFile.Name = "fldCERFile";
			this.fldCERFile.Size = new System.Drawing.Size(192, 20);
			this.fldCERFile.TabIndex = 6;
			//
			//cmdOK
			//
			this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.cmdOK.Location = new System.Drawing.Point(283, 147);
			this.cmdOK.Name = "cmdOK";
			this.cmdOK.Size = new System.Drawing.Size(48, 23);
			this.cmdOK.TabIndex = 4;
			this.cmdOK.Text = "OK";
			this.cmdOK.UseVisualStyleBackColor = true;
			//
			//cmdCancel
			//
			this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.cmdCancel.Location = new System.Drawing.Point(11, 147);
			this.cmdCancel.Name = "cmdCancel";
			this.cmdCancel.Size = new System.Drawing.Size(75, 23);
			this.cmdCancel.TabIndex = 5;
			this.cmdCancel.Text = "Cancel";
			this.cmdCancel.UseVisualStyleBackColor = true;
			//
			//frmSelectCertificateFile
			//
			this.AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 13.0F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(343, 182);
			this.Controls.Add(this.cmdCancel);
			this.Controls.Add(this.cmdOK);
			this.Controls.Add(this.CERFileGroupBox);
			this.Controls.Add(this.PFXFileGroupBox);
			this.Controls.Add(this.rbCER);
			this.Controls.Add(this.rbPFX);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon"));
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "frmSelectCertificateFile";
			this.Text = "Select certificate file";
			this.PFXFileGroupBox.ResumeLayout(false);
			this.PFXFileGroupBox.PerformLayout();
			this.CERFileGroupBox.ResumeLayout(false);
			this.CERFileGroupBox.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

//INSTANT C# NOTE: Converted event handler wireups:
			cmdSelectCERFile.Click += new System.EventHandler(cmdSelectCERFile_Click);
			cmdSelectPFXFile.Click += new System.EventHandler(cmdSelectPFXFile_Click);
			rbCER.CheckedChanged += new System.EventHandler(rbCER_CheckedChanged);
			rbPFX.CheckedChanged += new System.EventHandler(rbPFX_CheckedChanged);
			cmdOK.Click += new System.EventHandler(cmdOK_Click);

		}
		internal System.Windows.Forms.RadioButton rbPFX;
		internal System.Windows.Forms.RadioButton rbCER;
		internal System.Windows.Forms.GroupBox PFXFileGroupBox;
		internal System.Windows.Forms.Button cmdSelectPFXFile;
		internal System.Windows.Forms.TextBox fldPFXFile;
		internal System.Windows.Forms.TextBox fldPFXPassword;
		internal System.Windows.Forms.GroupBox CERFileGroupBox;
		internal System.Windows.Forms.Button cmdSelectCERFile;
		internal System.Windows.Forms.TextBox fldCERFile;
		internal System.Windows.Forms.Button cmdOK;
		internal System.Windows.Forms.Button cmdCancel;
	}

}